﻿<Window x:Class="CommandBinding.BaseView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:com="clr-namespace:CommandBinding.ViewModel"
        xmlns:comView="clr-namespace:CommandBinding.View"
        Title="BaseView" Height="300" Width="300">
    
    <Window.Resources>
        <DataTemplate DataType="{x:Type com:CommandViewModel}">
            <comView:CommandView/>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <ContentControl Content="{Binding Path=CommandViewModel}"/>
    </Grid>
</Window>
